package io.github.wppli.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品扩展信息表
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2025-03-12
 */
@Getter
@Setter
@TableName("product_extend")
public class ProductExtend implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("product_id")
    private Long productId;

    /**
     * 累计销量
     */
    @TableField("sales")
    private Integer sales;

    /**
     * 浏览数
     */
    @TableField("views")
    private Integer views;

    /**
     * 用户评分
     */
    @TableField("rating")
    private BigDecimal rating;


}
